const article = require('../../model/article')
module.exports = async(req, res) => {
    let { id } = req.body;
    await article.findOneAndDelete({ _id: id });
    res.redirect('/admin/article')
        // res.send(Article)
}